package com.ctgu.server.dao.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ctgu.server.dao.entity.AttendanceLocation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @projectName: ctguqmx_server
 * @package: com.ctgu.server.dao.dto
 * @className: AttendanceLocationDto
 * @author: Kvzjj
 * @description: TODO
 * @date: 2023/6/13 15:35
 * @version: 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@ApiModel(value = "AttendanceLocationDto", description = "打卡地点处理参数")
public class AttendanceLocationDto {
    @ApiModelProperty(value = "用户Id")
    @NotNull(message = "userId不能为空")
    private String userId;

    @ApiModelProperty(value = "考勤组ID")
    @NotNull(message = "attendanceGroupId不能为空")
    private String attendanceGroupId;

    @ApiModelProperty(value = "考勤地点")
    private List<AttendanceLocation> attendanceLocationList;
}
